-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add settings endpoint for web/push and e-mail notifications #9 #31
Open
gaurav-handysolver
wants to merge
2
commits into
main
Choose a base branch
from
issue-9
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gaurav-handysolver
added
api
Issues to update existing endpoints or to add new ones
core
Adjustments of the HumHub core
labels
Jun 13, 2022
I rebased |
donni106
requested changes
Jul 22, 2022
Hi @donni106 Note: You have to pass JWT token to get the notification setting list of the user. |
We are updated space, email and web notification setting Working flow of space notification setting 1. Pass space id in body data for adding space in space notification. 2. If user is the member of that space only then space is added for the user. 3. Otherwise, it will throw an error. 4. In other word, if user status will be 1(invited) or 2(applicant) for that space ,it will throw an error Working flow of email notification setting 1. pass the email key name with status (true/false) to update the email notification setting 2. Check the module is active or not 3. Check the key value is disabled or not (which mean check we can update the value or not) 4. Validate the input values (that is only true,false ,0 and 1 are accepted) 5. Update the email notification setting Same working flow for web notification also
donni106
reviewed
Jul 26, 2022
Note: you have to pass JWT token to get the notification setting list of the user # Conflicts: # docs/postman/Smart Village API.postman_collection.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We are updated space, email and web notification setting
Working flow of space notification setting
Working flow of email notification setting
Same working flow for web notification also
#9